package com.stress.testing.plugin.es.strategy;

import org.elasticsearch.action.explain.ExplainRequest;

public class ExplainRequestIndexRenameStrategy extends AbstractRequestIndexRenameStrategy {
    @Override
    public void renameIndex(Object arg) {
        ExplainRequest request = (ExplainRequest) arg;
        request.index(internalRenameIndex(request.index()));
    }
}